package com.ctc.test;

import android.os.Bundle;
import android.util.Log;

import androidx.activity.EdgeToEdge;
import androidx.appcompat.app.AppCompatActivity;

public class MainActivity extends AppCompatActivity
{

    @Override
    protected void onCreate(Bundle savedInstanceState)
    {
        super.onCreate(savedInstanceState);
        EdgeToEdge.enable(this);
        setContentView(R.layout.activity_main);
    }

    @Override
    protected void onResume()
    {

        super.onResume();
        Log.i("", "onResume");
        getSupportFragmentManager().beginTransaction().add(R.id.activity_main_master, new MasterFragment()).commit();
        getSupportFragmentManager().beginTransaction().add(R.id.activity_main_slave, new SlaveFragment()).commit();
    }
}